package cn.com.surker.production.entity.vo;

import cn.com.surker.base.ExportInter;
import cn.com.surker.excel.ExcelCell;
import cn.com.surker.production.entity.InvoiceHandle;
import cn.com.surker.util.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 作废报表数据
 *
 * @author luotao
 * @date 2025/1/13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class InvoiceScrapReport extends InvoiceHandle implements ExportInter {

	/**
	 * 源发货单编号
	 */
	@ExcelCell(value = "发货单编号", sort = 1)
	private String sourceInvoiceCode;

	/**
	 * 作废时间
	 */
	@ExcelCell(value = "作废时间", dateFormat = DateUtil.DATE_DETAIL_FORMATTER, sort = 0)
	private Date scrapTime;

	/**
	 * 合同名称
	 */
	@ExcelCell(value = "工程名称", sort = 2)
	private String conName;

	/**
	 * 强度等级
	 */
	@ExcelCell(value = "砼强度", sort = 4)
	private String strengthName;

	/**
	 * 特性要求
	 */
	@ExcelCell(value = "特性要求", sort = 5)
	private String tech;

	/**
	 * 浇筑方式
	 */
	@ExcelCell(value = "浇筑方式", sort = 9)
	private String castModelName;

	/**
	 * 施工部位
	 */
	@ExcelCell(value = "施工部位", sort = 3)
	private String site;

	/**
	 * 车辆编号
	 */
	@ExcelCell(value = "车辆编号", sort = 6)
	private String carCode;

	/**
	 * 车牌号
	 */
	@ExcelCell(value = "车牌号", sort = 7)
	private String carNo;

	/**
	 * 运距
	 */
	@ExcelCell(value = "运距", sort = 8)
	private Double distance;

	@ExcelCell(value = "作废方量", sort = 10)
	private Double scrapStere;

	@ExcelCell(value = "作废备注", sort = 11)
	private String scrapRemark;

}
